package com.zky.common.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 秒杀商品和订单中间表
 * 
 * @author zky
 * @email zhongkaiyue@gmail.com
 * @date 2021-07-01 08:10:18
 */
@Data
@TableName("tb_seckill_order")
public class SeckillOrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键id
	 */
	@TableId
	private Long id;
	/**
	 * 秒杀活动id
	 */
	private Long seckillId;
	/**
	 * 订单id
	 */
	private Long orderId;
	/**
	 * 用户id
	 */
	private Long userId;

}
